Location
@Serializable
Locations that can be visited within the games. They make up sizable portions of regions, like cities or routes. See: https://pokeapi.co/docs/v2#locations
Parameters
id
The identifier for this resource.
name
The name for this resource.
region
The region this location can be found in.
names
The name of this resource listed in different languages.
game Indices
A list of the indices of this location in different games.
areas
A list of areas that can be found in this location.
Constructors
Link copied to clipboard
constructor(id: Int, name: String, region: Handle.Named<Region>?, names: List<Name>, gameIndices: List<GenerationGameIndex>, areas: List<Handle.Named<LocationArea>>)